package vip.web3.api.mapper;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import vip.web3.api.entity.biz.UserEntity;
import vip.web3.api.form.user.RegisterForm;

/**
 * aut-horlilei
 */
@Mapper
public interface UserWalletMapper {
    UserWalletMapper INSTANCE = Mappers.getMapper(UserWalletMapper.class);

    /**
     * toUserEntity
     *
     * @param form form
     * @return UserFront
     */
    UserEntity toUserEntity(RegisterForm form);


}
